package com.ktwlsoft.archivemanage.payload.unitArchive;

import com.ktwlsoft.archivemanage.payload.unitArchive.request.UnitArchiveManageCompare;
import com.ktwlsoft.archivemanage.payload.unitArchive.request.UnitArchivesCompare;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Year;
import java.util.List;

@ApiModel("同年数据对比")
@Getter
@Setter
public class UnitArchiveManageCompareRequest {

    @ApiModelProperty("室藏档案管理(手动添加)")
    @NotNull
    private UnitArchiveManageCompare munualUnitArchiveManage;

    @ApiModelProperty("室藏档案列表(手动添加)")
    @NotNull
    private List<UnitArchivesCompare> manualUnitArchives;

    @ApiModelProperty("室藏档案管理(年度报送)")
    @NotNull
    private UnitArchiveManageCompare reportUnitArchiveManage;

    @ApiModelProperty("室藏档案列表(年度报送)")
    @NotNull
    private List<UnitArchivesCompare> reportUnitArchives;
//    @ApiModelProperty("比较数据")
//    private Map<String,List<UnitArchivesCompare>> compareDatas;

    @ApiModelProperty("年度")
    private Year year;

}
